home *** CD-ROM | disk | FTP | other *** search
-
-
-
- S2P User Commands S2P
-
-
-
- NNAAMMEE
- s2p - Sed to Perl translator
-
- SSYYNNOOPPSSIISS
- ss22pp [[ooppttiioonnss]] ffiilleennaammee
-
- DDEESSCCRRIIPPTTIIOONN
- _S_2_p takes a sed script specified on the command line (or
- from standard input) and produces a comparable _p_e_r_l script
- on the standard output.
-
- OOppttiioonnss
-
- Options include:
-
- --DD<<nnuummbbeerr>>
- sets debugging flags.
-
- --nn specifies that this sed script was always invoked with
- a sed -n. Otherwise a switch parser is prepended to
- the front of the script.
-
- --pp specifies that this sed script was never invoked with a
- sed -n. Otherwise a switch parser is prepended to the
- front of the script.
-
- CCoonnssiiddeerraattiioonnss
-
- The perl script produced looks very sed-ish, and there may
- very well be better ways to express what you want to do in
- perl. For instance, s2p does not make any use of the split
- operator, but you might want to.
-
- The perl script you end up with may be either faster or
- slower than the original sed script. If you're only
- interested in speed you'll just have to try it both ways.
- Of course, if you want to do something sed doesn't do, you
- have no choice.
-
- EENNVVIIRROONNMMEENNTT
- S2p uses no environment variables.
-
- AAUUTTHHOORR
- Larry Wall <lwall@jpl-devvax.Jpl.Nasa.Gov>
-
- FFIILLEESS
- SSEEEE AALLSSOO
- perl The perl compiler/interpreter
- a2p awk to perl translator
-
- DDIIAAGGNNOOSSTTIICCSS
-
-
-
-
- Sprite v1.0 NEW 1
-
-
-
-
-
-
- S2P User Commands S2P
-
-
-
- BBUUGGSS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v1.0 NEW 2
-
-
-
-
-
-
-